import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Message from '@/components/library/Message'
// 导入自己的ui组件库
import UI from '@/components/library/index.js'
// 重置样式库
import 'normalize.css'
// 公共样式
import '@/assets/style/common.less'
import '@/mock/index'
const app = createApp(App)
app.use(store).use(router).use(UI).mount('#app')
// 定义一个原型函数
app.config.globalProperties.$message = Message// 原型函数
